import { createRouter, createWebHistory } from 'vue-router'
import Cart from '../views/Cart.vue'
import jsti from '../views/jsti.vue'

const routes = [
  {
    path: '/',
    redirect: '/cart'
  },
  {
    path: '/cart',
    component: Cart
  },
  {
    path: '/jsti',
    component: jsti
  },
]

const router = createRouter({
  history: createWebHistory(process.env.BASE_URL),
  routes
})

export default router
